import wx


class MyFrame(wx.Frame):
    def __init__(self):
        wx.Frame.__init__(self, None, title="学习系统", size=(600, 600), pos=(200, 200))
        pl = wx.Panel(self, size=(500, 500), pos=(10, 10))
        staticText = wx.StaticText(pl, label="欢迎你", pos=(30, 30))
        btn = wx.Button(pl, label="测试", pos=(80, 80))


app = wx.App()
frm = MyFrame()
frm.Show()

app.MainLoop()
